<header>
    <h1>Classement des villes</h1>
</header>
<br />
<div class="list">
    <table id="listing">
        <thead>
            <tr>
                <th>Nom de la ville</th>
                <th>Prix moyen</th>
            </tr>
        </thead>
        <tbody>
        { foreach from=$data item=element }
            <tr>
                <td>
                    <a href="{ $SYS_FOLDER }ville/{ $element.id }-{ $element.name|replace:' ':'-' }">{ $element.name }</a>
                </td>
                <td>{ $element.prix } €</td>
            </tr>
        { /foreach }
        </tbody>
    </table>
</div>